﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clipper.Model.ViewModel
{
    /// <summary>
    /// 软件设置信息
    /// </summary>
    public class ConfigVM : AbstractModel
    {
        bool _isTone = true;
        float _substrateAmount=50;
        string _adminPwd = "";
        /// <summary>
        /// 开启提示声音
        /// </summary>
        public bool IsTone
        {
            get
            {
                return _isTone;
            }
            set
            {
                _isTone = value;
                NotifyPropertyChanged("IsTone");
            }
        }
        /// <summary>
        /// 底物的用量
        /// </summary>
        public float SubstrateAmount
        {
            get
            {
                return _substrateAmount;
            }
            set
            {
                _substrateAmount = value;
                NotifyPropertyChanged("SubstrateAmount");
            }
        }
        /// <summary>
        /// 管理员密码
        /// </summary>
        public string AdminPwd
        {
            get
            {
                return _adminPwd;
            }
            set
            {
                _adminPwd = value;
                NotifyPropertyChanged("AdminPwd");
            }
        }

    }
}
